import 'package:json_annotation/json_annotation.dart';
part 'moto_typeg.dart';

@JsonSerializable()
class MotoType{
  int ?id;
  String ?name;
  MotoType();

  factory MotoType.fromJson(Map<String, dynamic> json) =>
      _$MotoTypeFromJson(json);
  Map<String, dynamic> toJson() => _$MotoTypeToJson(this);
}
